﻿Public Class ThucDonDTO
    'MaMenu int primary key identity(1,1),
    'DonGia money,
    'Ten nvarchar(50),
    'TinhTrang int
    Private _iMaMenu As Integer
    Private _dDonGia As Double
    Private _sTen As String
    Private _sTinhTrang As Integer


#Region "Các hàm khởi tạo"
    Public Sub New(ByVal MaMenu As Integer, ByVal DonGia As Double, ByVal Ten As String, ByVal TinhTrang As Integer)
        _iMaMenu = MaMenu
        _dDonGia = DonGia
        _sTen = Ten
        _sTinhTrang = TinhTrang
    End Sub
#End Region

#Region "Get & Set"
    Public Property MaMenu
        Get
            Return _iMaMenu
        End Get
        Set(ByVal value)
            _iMaMenu = value
        End Set
    End Property

    Public Property DonGia
        Get
            Return _dDonGia
        End Get
        Set(ByVal value)
            _dDonGia = value
        End Set
    End Property

    Public Property Ten
        Get
            Return _sTen
        End Get
        Set(ByVal value)
            _sTen = value
        End Set
    End Property

    Public Property TinhTrang
        Get
            Return _sTinhTrang
        End Get
        Set(ByVal value)
            _sTinhTrang = value
        End Set
    End Property
#End Region

End Class
